//
//  UIButtonCategory.h
//  ubixar-utils
//
//  Created by Demis Bellot on 17/04/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface UIButton(UIButtonCategory) 

- (void) addClickHandler:(SEL)onClick forTarget:(id)target;

- (void) setImagesUsingImageNameFormat: (NSString*)imageNameFormat;
- (void) setImagesUsingImageNameFormat: (NSString*)imageNameFormat useDefaultForMissingImages:(BOOL)useDefault;

- (void) setImagesUsingDefault: (NSString*)defaultImageName;

- (void) setImagesUsingDefault: (NSString*)defaultImageName 
					   selected: (NSString*)selectedImageName;

- (void) setImagesUsingDefault: (NSString*)defaultImageName 
					   selected: (NSString*)selectedImageName
					highlighted: (NSString*)highlightedImageName;

- (void) setImagesUsingDefault: (NSString*)defaultImageName 
					   selected: (NSString*)selectedImageName
					highlighted: (NSString*)highlightedImageName
					   disabled: (NSString*)disabledImageName;
@end
